PrintDocument for WinForms
Print(String,Int32[]) メソッド


C1.Win.PrintPreview.6 アセンブリ > C1.Win.C1Preview 名前空間 > C1PreviewPane クラス > Print メソッド : Print(String,Int32[]) メソッド
The name of the printer that should be initially selected in the dialog.
The list of selected page numbers. If this parameter is not null, selection option is enabled in the dialog.
Shows the standard print dialog, allowing the user to print the currently loaded document.
シンタックス
'宣言
 
Public Overloads Function Print( _
   ByVal printerName As System.String, _
   ByVal selectedPageNumbers() As System.Integer _
) As System.Boolean
'使用法
 
Dim instance As C1PreviewPane
Dim printerName As System.String
Dim selectedPageNumbers() As System.Integer
Dim value As System.Boolean
 
value = instance.Print(printerName, selectedPageNumbers)
public System.bool Print( 
   System.string printerName,
   System.int[] selectedPageNumbers
)

パラメータ

printerName
The name of the printer that should be initially selected in the dialog.
selectedPageNumbers
The list of selected page numbers. If this parameter is not null, selection option is enabled in the dialog.

戻り値の型

True if the user pressed OK in the dialog, false if the user cancelled the dialog.
解説
If an exception occurs, the error message is shown, and false is returned.
参照

C1PreviewPane クラス
C1PreviewPane メンバ
オーバーロード一覧